﻿
namespace Amercom.Silverlight.Helpers.PanoramaCube
{
    public class UVPoint
    {
        public double _x;
        public double _y;
        public double _sx;
        public double _sy;

        public double X { get { return this._x; } set { _x = value; } }
        public double Y { get { return this._y; } set { _y = value; } }
        public double SX { get { return this._sx; } set { _sx = value; } }
        public double SY { get { return this._sy; } set { _sy = value; } }

        public UVPoint(double X, double Y, double SX, double SY)
        {
            // (source) Texture coordinates
            this.X = X;
            this.Y = Y;
            // destination coortinates
            this.SX = SX;
            this.SY = SY;
        }
    }
}
